= render 'shared/alerts/positioning_disabled' if @sort == 'relative_position'

%ul.content-list.issues-list.issuable-list{ class: issue_manual_ordering_class }
  = render partial: 'projects/issues/service_desk/issue', collection: @issues
  - if @issues.blank?
    - empty_state_path = local_assigns.fetch(:empty_state_path, 'shared/empty_states/issues')
    = render empty_state_path

- if @issues.present?
  = paginate_collection @issues, total_pages: @total_pages
